Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Oct 10, 2016

@rullzer rullzer added 3. to review Waiting for reviews downstream labels Oct 10, 2016
@rullzer rullzer added this to the Nextcloud 11.0 milestone Oct 10, 2016
@MorrisJobke
Copy link
Member

Looks good and works as before 👍

@nickvergessen
Copy link
Member

👍

@rullzer rullzer added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 10, 2016
@rullzer
Copy link
Member Author

rullzer commented Oct 10, 2016

seem mysql is not happy. I'll have a look tomorrow

@nickvergessen
Copy link
Member

1) Test\DB\ConnectionTest::testSetValuesOverWrite
570s
98
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO `oc_table` (`integerfield`, `textfield`) VALUES(?, ?)' with params [1, "bar"]:
570s
100
SQLSTATE[HY000]: General error: 1364 Field 'clobfield' doesn't have a default value

So this is a BC breaking minor update... great 🎉
Tables that need adjustments:

I guess we need to fix the schema reader and hack it in. We can't break all these apps on 5.6 + mysql (I guess this is the greatest part of instances)

@rullzer
Copy link
Member Author

rullzer commented Oct 11, 2016

Mmm I must say I'm surprised this even worked before. But the big question is why did it work before and not anymore.

@rullzer
Copy link
Member Author

rullzer commented Oct 11, 2016

Ok so it fails now because of: https://github.com/nextcloud/3rdparty/pull/18/files#diff-f1134e2d70bff8e3d0e698f41c3a652bL111

Which is a line added by @MorrisJobke in doctrine/dbal@e73ef8b

But has no trace in the 2.5 branch aparently anymore.

rullzer and others added 2 commits October 11, 2016 12:30
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
Copy link
Member Author

rullzer commented Oct 11, 2016

Pushed 3rdparty patch lets see

@rullzer rullzer added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Oct 11, 2016
@rullzer
Copy link
Member Author

rullzer commented Oct 11, 2016

Whee mysql is happy.

@MorrisJobke
Copy link
Member

👍

@MorrisJobke MorrisJobke merged commit 9785343 into master Oct 11, 2016
@MorrisJobke MorrisJobke deleted the bump_doctrine branch October 11, 2016 13:40
@MorrisJobke
Copy link
Member

Upps .. 3rdparty needs to be updated to current master -> @rullzer could you update this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants